﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;

namespace AccessWare
{
    public partial class popup : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            object[] objParam = new object[13];
            string strProjectId = Request.QueryString["intProjectId"].ToString();
            objParam[0] = strProjectId; 
                DataSet dsIssue = new DataSet();
            DataSet dsreceipt = new DataSet();
             SPCalling objSPCalling = new SPCalling();
             dsIssue = objSPCalling.ExecuteDataset(CommandType.StoredProcedure, "getIssueListID", objParam);
             dsreceipt = objSPCalling.ExecuteDataset(CommandType.StoredProcedure, "getReceiptListID", objParam);
             gdReceiptList.DataSource = dsreceipt.Tables[0];
             gdReceiptList.DataBind();
             gdReceiptList.Visible = true;

             gdIssueList.DataSource = dsIssue.Tables[0];
             gdIssueList.DataBind();
             gdIssueList.Visible = true;
            

            
        }
    }
}